import { axios } from '@/utils/request'

export function generateWSDLCode(transVo, path) {
  return axios({
    url: '/wsdl/generate',
    method: 'post',
    data: { transVo: transVo, path: path }
  })
}

export function downloadWSDL(transCode) {
  return axios({
    url: '/wsdl/download/' + transCode,
    method: 'get',
    responseType: 'blob'
  })
}
